from django.urls import path
from book.views import create_book,shop,register,json,response
from book.views import set_cookie,get_cookie
from book.views import set_session,get_session
from book.views import LoginView
urlpatterns = [
    path('create/',create_book),
    path('<city_id>/<shop_id>/',shop),
    path('register/',register),
    path('json/',json),
    path('res/', response),
    path('set_cookie/', set_cookie),
    path('get_cookie/', get_cookie),
    path('set_session/',set_session),
    path('get_session/',get_session),

    #############类视图##################
    path('163login/',LoginView.as_view())
]